<template>
	<view class="wp">
		<view class="ul" @click="lijiang">
			<view class="li" v-for="(item,index) in list" :key="index" @click="lijiang">
				<view class="img">
					<image :src="item.src" mode=""></image>
				</view>
				<view class="p">
					<view>{{item.name}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						src:require("./img/s1.jpg"),
						name:'昆明'
					},
					{
						src:require("./img/s2.jpg"),
						name:'玉溪'
					},
					{
						src:require("./img/s3.jpg"),
						name:'曲靖'
					},
					{
						src:require("./img/s4.jpg"),
						name:'红河州'
					},
					{
						src:require("./img/s5.jpg"),
						name:'大理'
					},
					{
						src:require("./img/s6.jpg"),
						name:'西双版纳'
					},
					{
						src:require("./img/s7.jpg"),
						name:'德宏州'
					},
					{
						src:require("./img/s8.jpg"),
						name:'楚雄'
					},
					{
						src:require("./img/s9.jpg"),
						name:'怒江'
					},
					{
						src:require("./img/s10.jpg"),
						name:'香格里拉'
					},
					{
						src:require("./img/s11.jpg"),
						name:'文山洲'
					},
					{
						src:require("./img/s12.jpg"),
						name:'昭通'
					},
					{
						src:require("./img/s13.jpg"),
						name:'普洱'
					},
					{
						src:require("./img/s14.jpg"),
						name:'保山'
					},
					{
						src:require("./img/s15.jpg"),
						name:'丽江'
					},
					{
						src:require("./img/s16.jpg"),
						name:'临沧'
					}
				]
			}
		},
		methods: {
			lijiang(){
				uni.navigateTo({
					url:'../login/gynb-a5.1'
				})
			},
		}
	}
</script>

<style scoped>
	.wp{
		background: #f3f6fa;
	}
	.ul{
		margin-left: 30rpx;
		margin-right: 30rpx;
		padding-top: 30rpx;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.ul .li{
		width: 330rpx;
		height: 330rpx;
		background: #fff;
		border-radius: 30rpx;
		margin-top: 30rpx;
	}
	.ul .li .img{
		width: 330rpx;
		height: 246rpx;
	}
	.ul .li .img image{
		width: 100%;
		height: 100%;
	}
	.ul .li .p{
		height: 80rpx;
		line-height: 80rpx;
		text-align: center;
		color: #333;
		font-size: 30rpx;
		font-weight: 600;
	}
</style>
